//
//  LCFxzcNoticeTableViewController.m
//  JKFuYinProject
//
//  Created by jiukuyinyue on 2017/9/8.
//  Copyright © 2017年 LC. All rights reserved.
//

#import "LCFxzcNoticeTableViewController.h"
#import "LCFxzcNoticeTableViewCell.h"
#define LCFxzcNoticeCell @"LCFxzcNoticeCell"

@interface LCFxzcNoticeTableViewController ()

@end

@implementation LCFxzcNoticeTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"公告";
    [self.tableView registerClass:[LCFxzcNoticeTableViewCell class] forCellReuseIdentifier:LCFxzcNoticeCell];
    
}

#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 3;
}


- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    LCFxzcNoticeTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:LCFxzcNoticeCell forIndexPath:indexPath];
    
    cell.textLabel.text = @"关于向四川九寨沟地震灾区捐款捐物的活动倡议书-中国";
    cell.detailTextLabel.text = @"2017-05-08";
    cell.detailTextLabel.textColor = [UIColor lightGrayColor];
    
    return cell;
}

#pragma mark -  UITableViewDelegate  -
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    CGFloat height;
    height = 60;
    return height;
}

@end
